Made latlng accessible to liquid

Chris Eidhof 9 years ago
parent
commit
c278edb686
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/location.rb

+ 1 - 1
lib/location.rb

@@ -104,7 +104,7 @@ class Location
104 104
 end
105 105
 
106 106
 class LocationDrop
107
-  KEYS = Location.members.map(&:to_s).concat(%w[latitude longitude])
107
+  KEYS = Location.members.map(&:to_s).concat(%w[latitude longitude latlng])
108 108
 
109 109
   def before_method(key)
110 110
     if KEYS.include?(key)